package facade.Administrador;

import dao.implementations.postgresql.Administrador.AdministradorDB;
import dao.interfaces.Administrador.IAdministrador;
import facade.FacadeBase;

public class FacadeAdministrador extends FacadeBase {
	
	public int eliminarAdministrador(int rut)
	{
		int resp = -1;
		IAdministrador administradorDB = new AdministradorDB(this.connection.getConnection());
		
		resp = administradorDB.eliminarAdministrador(rut);
		
		this.closeConnection();		
		return resp;
	}
}
